const path = require('path');

const join = (filePath) => path.join(__dirname, '..', filePath);

module.exports = {
  // 服务端口号
  PORT: 9001,

  // 代理
  PROXY_LIST: {
    '/api': {
      target: 'https://api.luzhongkuan.cn',
      changeOrigin: true,
      logs: true,
      // pathRewrite: { '^/api': '' },
    },
  },

  // 静态资源  favicon
  STATIC_PATH: join('static'),
  FAVICON_PATH: join('static/images/favicon.ico'),
  TEMPLATE_PATH: join('_webpack/index.html')
};